<?php
/**
 * Created by PhpStorm.
 * User: zhj
 * Date: 2019/3/6
 * Time: 15:00
 */
namespace app\admin\model;

/**
 * 菜单模型
 */
class City extends AdminBase
{

    /**
     * 隐藏状态获取器
     */
    public function getIsHideTextAttr()
    {

        $is_hide = [DATA_DISABLE => '否', DATA_NORMAL => '是'];

        return $is_hide[$this->data['is_hide']];
    }
}
